/*
 * GWTNetTestServiceImpl.java
 *
 * Created on 19 december 2007, 22:39
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.gwtrpcnettest.server;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
import org.gwtrpcnettest.client.GWTNetTestService;
import org.gwtrpcnettest.client.Person;

/**
 *
 * @author Mark
 */
public class GWTNetTestServiceImpl extends RemoteServiceServlet implements
        GWTNetTestService {
    
    public String myMethod(String s) {
        // Do something interesting with 's' here on the server.
        return "Server says: " + s;
    }
    
    public Person doPerson(Person p) {
        p.setName("Anneleentje");
        return p;
    }
}
